﻿using Lightworks.System.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lightworks.System.Dto
{
    public class LoginReq
    {
        [Required]
        public string Username { get; set; } = string.Empty;
        [Required]
        public string Password { get; set; } = string.Empty;
    }

    public class LoginRes
    {
        public User? UserInfo { get; set; }
        public string? Token { get; set; }
        public string? RefreshToken { get; set; }
    }
}
